﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class Reduce2D
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class Reduce2D
   ">
    <meta name="generator" content="docfx 2.56.4.0">
    
    <link rel="shortcut icon" href="../favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    
    
    
  </head>
  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../logo.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="CADability.Curve2D.Reduce2D">
  
  
  <h1 id="CADability_Curve2D_Reduce2D" data-uid="CADability.Curve2D.Reduce2D" class="text-break">Class Reduce2D
  </h1>
  <div class="markdown level0 summary"><p>Helper class to reduce duplicated or 2d connected curves. To use this class create an empty instance,
<a class="xref" href="CADability.Curve2D.Reduce2D.html#CADability_Curve2D_Reduce2D_Add_CADability_Curve2D_ICurve2D_">Add(ICurve2D)</a>/&gt; curves to it and access the <a class="xref" href="CADability.Curve2D.Reduce2D.html#CADability_Curve2D_Reduce2D_Reduced">Reduced</a>/&gt;
property. Some flags add additional control on how the reduction is performed</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><span class="xref">Reduce2D</span></div>
  </div>
  <div classs="implements">
    <h5>Implements</h5>
    <div><span class="xref">System.Collections.Generic.IEqualityComparer</span>&lt;<a class="xref" href="CADability.Curve2D.ICurve2D.html">ICurve2D</a>&gt;</div>
  </div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <span class="xref">System.Object.Equals(System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.GetHashCode()</span>
    </div>
    <div>
      <span class="xref">System.Object.GetType()</span>
    </div>
    <div>
      <span class="xref">System.Object.MemberwiseClone()</span>
    </div>
    <div>
      <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.ToString()</span>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="CADability.Curve2D.html">CADability.Curve2D</a></h6>
  <h6><strong>Assembly</strong>: CADability.dll</h6>
  <h5 id="CADability_Curve2D_Reduce2D_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Reduce2D : IEqualityComparer&lt;ICurve2D&gt;</code></pre>
  </div>
  <h3 id="constructors">Constructors
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Curve2D_Reduce2D__ctor.md&amp;value=---%0Auid%3A%20CADability.Curve2D.Reduce2D.%23ctor%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Reduce2D.cs/#L22">View Source</a>
  </span>
  <a id="CADability_Curve2D_Reduce2D__ctor_" data-uid="CADability.Curve2D.Reduce2D.#ctor*"></a>
  <h4 id="CADability_Curve2D_Reduce2D__ctor" data-uid="CADability.Curve2D.Reduce2D.#ctor">Reduce2D()</h4>
  <div class="markdown level1 summary"><p>Empty constructor. Use <a class="xref" href="CADability.Curve2D.Reduce2D.html#CADability_Curve2D_Reduce2D_Add_CADability_Curve2D_ICurve2D_">Add(ICurve2D)</a> to add curves.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Reduce2D()</code></pre>
  </div>
  <h3 id="fields">Fields
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Curve2D_Reduce2D_BreakPolylines.md&amp;value=---%0Auid%3A%20CADability.Curve2D.Reduce2D.BreakPolylines%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Reduce2D.cs/#L121">View Source</a>
  </span>
  <h4 id="CADability_Curve2D_Reduce2D_BreakPolylines" data-uid="CADability.Curve2D.Reduce2D.BreakPolylines">BreakPolylines</h4>
  <div class="markdown level1 summary"><p>Break up polylines added to this object. Depending on <a class="xref" href="CADability.Curve2D.Reduce2D.html#CADability_Curve2D_Reduce2D_OutputMode">OutputMode</a> the result may again be combined
to polylines or paths.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool BreakPolylines</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Curve2D_Reduce2D_FlattenPolylines.md&amp;value=---%0Auid%3A%20CADability.Curve2D.Reduce2D.FlattenPolylines%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Reduce2D.cs/#L125">View Source</a>
  </span>
  <h4 id="CADability_Curve2D_Reduce2D_FlattenPolylines" data-uid="CADability.Curve2D.Reduce2D.FlattenPolylines">FlattenPolylines</h4>
  <div class="markdown level1 summary"><p>Precision to remove inner points of polylines. If set to 0, polylines remain unchanged</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public double FlattenPolylines</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Curve2D_Reduce2D_OutputMode.md&amp;value=---%0Auid%3A%20CADability.Curve2D.Reduce2D.OutputMode%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Reduce2D.cs/#L112">View Source</a>
  </span>
  <h4 id="CADability_Curve2D_Reduce2D_OutputMode" data-uid="CADability.Curve2D.Reduce2D.OutputMode">OutputMode</h4>
  <div class="markdown level1 summary"><p>Desired output mode.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Reduce2D.Mode OutputMode</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Curve2D.Reduce2D.Mode.html">Reduce2D.Mode</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Curve2D_Reduce2D_Precision.md&amp;value=---%0Auid%3A%20CADability.Curve2D.Reduce2D.Precision%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Reduce2D.cs/#L116">View Source</a>
  </span>
  <h4 id="CADability_Curve2D_Reduce2D_Precision" data-uid="CADability.Curve2D.Reduce2D.Precision">Precision</h4>
  <div class="markdown level1 summary"><p>Precision: two curves are combined if the resulting curve differs less than this value from the orginal curves.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public double Precision</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Curve2D_Reduce2D_UsedOriginals.md&amp;value=---%0Auid%3A%20CADability.Curve2D.Reduce2D.UsedOriginals%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Reduce2D.cs/#L337">View Source</a>
  </span>
  <h4 id="CADability_Curve2D_Reduce2D_UsedOriginals" data-uid="CADability.Curve2D.Reduce2D.UsedOriginals">UsedOriginals</h4>
  <div class="markdown level1 summary"><p>When adding GeoObjects with the method Add(GeoObjectList l, Plane pln), a list of used GeoObjects
is maintained when the result &quot;Reduced&quot; is calculated. &quot;UsedOriginals&quot; provides a list of those objects, that are
represented in the result. The objects might also be children of the provided objects.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public GeoObjectList UsedOriginals</code></pre>
  </div>
  <h5 class="fieldValue">Field Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.GeoObjectList.html">GeoObjectList</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Curve2D_Reduce2D_Reduced.md&amp;value=---%0Auid%3A%20CADability.Curve2D.Reduce2D.Reduced%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Reduce2D.cs/#L129">View Source</a>
  </span>
  <a id="CADability_Curve2D_Reduce2D_Reduced_" data-uid="CADability.Curve2D.Reduce2D.Reduced*"></a>
  <h4 id="CADability_Curve2D_Reduce2D_Reduced" data-uid="CADability.Curve2D.Reduce2D.Reduced">Reduced</h4>
  <div class="markdown level1 summary"><p>Access this property for the result of the reduction.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ICurve2D[] Reduced { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Curve2D.ICurve2D.html">ICurve2D</a>[]</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Curve2D_Reduce2D_Add_CADability_Curve2D_ICurve2D_.md&amp;value=---%0Auid%3A%20CADability.Curve2D.Reduce2D.Add(CADability.Curve2D.ICurve2D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Reduce2D.cs/#L33">View Source</a>
  </span>
  <a id="CADability_Curve2D_Reduce2D_Add_" data-uid="CADability.Curve2D.Reduce2D.Add*"></a>
  <h4 id="CADability_Curve2D_Reduce2D_Add_CADability_Curve2D_ICurve2D_" data-uid="CADability.Curve2D.Reduce2D.Add(CADability.Curve2D.ICurve2D)">Add(ICurve2D)</h4>
  <div class="markdown level1 summary"><p>Adds a curve to the reduction.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void Add(ICurve2D curve)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Curve2D.ICurve2D.html">ICurve2D</a></td>
        <td><span class="parametername">curve</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Curve2D_Reduce2D_Add_CADability_Curve2D_ICurve2D___.md&amp;value=---%0Auid%3A%20CADability.Curve2D.Reduce2D.Add(CADability.Curve2D.ICurve2D%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Reduce2D.cs/#L49">View Source</a>
  </span>
  <a id="CADability_Curve2D_Reduce2D_Add_" data-uid="CADability.Curve2D.Reduce2D.Add*"></a>
  <h4 id="CADability_Curve2D_Reduce2D_Add_CADability_Curve2D_ICurve2D___" data-uid="CADability.Curve2D.Reduce2D.Add(CADability.Curve2D.ICurve2D[])">Add(ICurve2D[])</h4>
  <div class="markdown level1 summary"><p>Adds an array of curves to the reduction</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void Add(ICurve2D[] curves)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Curve2D.ICurve2D.html">ICurve2D</a>[]</td>
        <td><span class="parametername">curves</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Curve2D_Reduce2D_Add_CADability_GeoObject_GeoObjectList_CADability_Plane_.md&amp;value=---%0Auid%3A%20CADability.Curve2D.Reduce2D.Add(CADability.GeoObject.GeoObjectList%2CCADability.Plane)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Reduce2D.cs/#L62">View Source</a>
  </span>
  <a id="CADability_Curve2D_Reduce2D_Add_" data-uid="CADability.Curve2D.Reduce2D.Add*"></a>
  <h4 id="CADability_Curve2D_Reduce2D_Add_CADability_GeoObject_GeoObjectList_CADability_Plane_" data-uid="CADability.Curve2D.Reduce2D.Add(CADability.GeoObject.GeoObjectList,CADability.Plane)">Add(GeoObjectList, Plane)</h4>
  <div class="markdown level1 summary"><p>Add all objects from l, which are or contain curves. The curves are projected onto the provided plane.
If l contains composite objects (e.g. Block, Path) the objects are decomposed.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void Add(GeoObjectList l, Plane pln)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.GeoObjectList.html">GeoObjectList</a></td>
        <td><span class="parametername">l</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.Plane.html">Plane</a></td>
        <td><span class="parametername">pln</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="eii">Explicit Interface Implementations
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Curve2D_Reduce2D_System_Collections_Generic_IEqualityComparer_CADability_Curve2D_ICurve2D__Equals_CADability_Curve2D_ICurve2D_CADability_Curve2D_ICurve2D_.md&amp;value=---%0Auid%3A%20CADability.Curve2D.Reduce2D.System%23Collections%23Generic%23IEqualityComparer%7BCADability%23Curve2D%23ICurve2D%7D%23Equals(CADability.Curve2D.ICurve2D%2CCADability.Curve2D.ICurve2D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Reduce2D.cs/#L367">View Source</a>
  </span>
  <a id="CADability_Curve2D_Reduce2D_System_Collections_Generic_IEqualityComparer_CADability_Curve2D_ICurve2D__Equals_" data-uid="CADability.Curve2D.Reduce2D.System#Collections#Generic#IEqualityComparer{CADability#Curve2D#ICurve2D}#Equals*"></a>
  <h4 id="CADability_Curve2D_Reduce2D_System_Collections_Generic_IEqualityComparer_CADability_Curve2D_ICurve2D__Equals_CADability_Curve2D_ICurve2D_CADability_Curve2D_ICurve2D_" data-uid="CADability.Curve2D.Reduce2D.System#Collections#Generic#IEqualityComparer{CADability#Curve2D#ICurve2D}#Equals(CADability.Curve2D.ICurve2D,CADability.Curve2D.ICurve2D)">IEqualityComparer&lt;ICurve2D&gt;.Equals(ICurve2D, ICurve2D)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">bool IEqualityComparer&lt;ICurve2D&gt;.Equals(ICurve2D x, ICurve2D y)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Curve2D.ICurve2D.html">ICurve2D</a></td>
        <td><span class="parametername">x</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.Curve2D.ICurve2D.html">ICurve2D</a></td>
        <td><span class="parametername">y</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Curve2D_Reduce2D_System_Collections_Generic_IEqualityComparer_CADability_Curve2D_ICurve2D__GetHashCode_CADability_Curve2D_ICurve2D_.md&amp;value=---%0Auid%3A%20CADability.Curve2D.Reduce2D.System%23Collections%23Generic%23IEqualityComparer%7BCADability%23Curve2D%23ICurve2D%7D%23GetHashCode(CADability.Curve2D.ICurve2D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Reduce2D.cs/#L374">View Source</a>
  </span>
  <a id="CADability_Curve2D_Reduce2D_System_Collections_Generic_IEqualityComparer_CADability_Curve2D_ICurve2D__GetHashCode_" data-uid="CADability.Curve2D.Reduce2D.System#Collections#Generic#IEqualityComparer{CADability#Curve2D#ICurve2D}#GetHashCode*"></a>
  <h4 id="CADability_Curve2D_Reduce2D_System_Collections_Generic_IEqualityComparer_CADability_Curve2D_ICurve2D__GetHashCode_CADability_Curve2D_ICurve2D_" data-uid="CADability.Curve2D.Reduce2D.System#Collections#Generic#IEqualityComparer{CADability#Curve2D#ICurve2D}#GetHashCode(CADability.Curve2D.ICurve2D)">IEqualityComparer&lt;ICurve2D&gt;.GetHashCode(ICurve2D)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">int IEqualityComparer&lt;ICurve2D&gt;.GetHashCode(ICurve2D obj)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.Curve2D.ICurve2D.html">ICurve2D</a></td>
        <td><span class="parametername">obj</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="implements">Implements</h3>
  <div>
      <span class="xref">System.Collections.Generic.IEqualityComparer&lt;T&gt;</span>
  </div>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_Curve2D_Reduce2D.md&amp;value=---%0Auid%3A%20CADability.Curve2D.Reduce2D%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Reduce2D.cs/#L13" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
                <h5>In This Article</h5>
                <div></div>
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            
            <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
